home *** CD-ROM | disk | FTP | other *** search
- ; $VER: Installation script for Bibel.guide 1.0 ( 9. Juli 1999)
- ; © Dieter Paprocki
- ; Created with GoldED 5.0
-
- ; check if we are running under correct OS
-
- (if (< (/ (getversion) 65536) 38)
-
- (
- (abort "Incorrect OS version (software requires OS 38 or better )!")
- )
- )
-
- ; error handling
-
- (onerror
-
- (if (> @ioerr 0)
-
- (
- (message
-
- ("An error has occurred during installation. Please check the log file to understand the error.")
- )
- )
- )
-
- (exit (quiet))
- )
-
- (welcome)
-
- (set @default-dest
-
- (askdir
-
- (prompt "Please choose the installation path:")
-
- (help "Installation creates a new folder for Bibel.guide in the path you specify.")
-
- (default @default-dest)
- )
- )
-
- ; --- insert your code below ---
- (makedir "Work:Bibel.guide" (infos))
- (copyfiles
-
- (source "Bibel-NT-2.guide:Bibel-NT-2.guide")
-
- (dest "Work:")
-
- (infos)
-
- (confirm)
-
- (newname "Bibel.guide/Bibel-NT-2.guide")
-
- (optional "fail")
- (COMPLETE 30)
- )
-
- ; --- end of your code ---
-
- (exit)
-
-